package gamecode;

import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Rectangle;

public class EntityDebugBouy extends Entity {

	private Color bouyColor;
	
	public EntityDebugBouy(Color c) {
		bouyColor = c;
	}
	
	public EntityDebugBouy(Color c, DPoint pos) {
		bouyColor = c;
		this.setPosition(pos);
	}
	
	public void drawEntity(Graphics2D g2d, Rectangle bounds, EntityPlayerShip player) {
		g2d.setColor(bouyColor);
		g2d.drawOval((int)(this.getPosition().getX() + (bounds.width/2 - player.getPosition().getX())), (int)(this.getPosition().getY() + (bounds.height/2 - player.getPosition().getY())), 5, 5);
	}
}
